@extends('layout.index')
@section('title', '套餐修改')
@section('content')
<div class="mws-panel grid_8">
	
    <div class="mws-panel-body no-padding">
    	<form action="/admin/goods/kucunupdate" method='post' class="mws-form " enctype="multipart/form-data">
    	@if (count($errors) >0)
    		<div class='mws-form-message error'>
    			添加失败!
    			<ul>
    				@foreach ($errors->all() as $error)
						<li>{{$error}}</li>
					@endforeach

    			</ul>
    		</div>

    	@endif
    		<div class="mws-panel grid_8">
                    <div class="mws-panel-header">
                        <span>商品属性修改</span>
                    </div>
                    <div class="mws-panel-body no-padding">
                        <form action="form_layouts.html" class="mws-form">
                            <div class="mws-form-inline">
                                <div class="mws-form-row">
                                    <label class="mws-form-label">套餐名</label>
                                    <div class="mws-form-item">
                                        <input type="text" class="smallinfo" name='proname' value = "{{$kucunedit->proname}}"  readonly >
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label class="mws-form-label">商品原价</label>
                                    <div class="mws-form-item">
                                        <input type="text" class="smallinfo" name='price' value = "{{$kucunedit->price}}">
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label class="mws-form-label">商品描述</label>
                                    <div class="mws-form-item">
                                        <input type="text" class="smallinfo" name='miaoshu' value = "{{$kucunedit->miaoshu}}">
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label class="mws-form-label">商品型号</label>
                                    <div class="mws-form-item">
                                        <input type="text" class="smallinfo" name='size' value = "{{$kucunedit->size}}">
                                    </div>
                                </div>
                            
                                
                              
                               <input type="hidden" value = "{{$kucunedit->id}}" name = "id" >
                            
                            {{csrf_field()}}
                            <div class="mws-button-row">

                                <input type="submit" class="btn btn-danger" value='修改'>
                                <input type="reset" class="btn " value="重置">
                            </div>
                        </form>
                    </div>      
                </div>
               
@endsection



